import { createRouter, createWebHistory } from 'vue-router'
import FlyweightView from '../views/FlyweightView.vue'
import FacadeView from '../views/FacadeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'flyweight',
      component: FlyweightView
    },
    {
      path: '/facade',
      name: 'facade',
      component: FacadeView
    }
  ]
})

export default router
